import java.util.Random;

public class CrazyHuman extends Human{
	private Random rndNum;
	
	/**
	 * construct a new crazy human SpaceShip.
	 */
	public CrazyHuman(){
        super();
        rndNum=new Random();
	}
	
	@Override
	public void doAction(SpaceWars game) {
		if(rndNum.nextInt(50)==1)
			this.teleport();
        this.actions(game);
    }
	
	
}